/* 健康档案页面样式 */

.health-page {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 导航栏样式 */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-icon {
  cursor: pointer;
  transition: all 0.2s ease;
}

.navbar-icon:hover {
  color: #3b82f6 !important;
  transform: scale(1.1);
}

/* 警告信息框样式 */
.warning-box {
  margin: 20px 16px;
  padding: 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #92400e;
  position: relative;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
  border-left: 4px solid #f59e0b;
  transition: all 0.3s ease;
}

.warning-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.warning-icon {
  width: 24px;
  height: 24px;
  background-color: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  }
  50% {
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.5);
  }
  100% {
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  }
}

/* 主要内容区域样式 */
.main-content {
  flex: 1;
  background-color: #ffffff;
  margin: 0 16px 20px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.main-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 背景装饰 */
.bg-decoration-1 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background-color: #e0f2fe;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.bg-decoration-2 {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 60px;
  height: 60px;
  background-color: #f3e8ff;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* 档案图标容器 */
.archive-icon-container {
  width: 100px;
  height: 100px;
  background-color: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 3px dashed #cbd5e1;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.archive-icon-container:hover {
  border-color: #3b82f6;
  background-color: #eff6ff;
  transform: scale(1.05);
}

.archive-icon-container:hover .archive-icon {
  transform: scale(1.1);
  color: #3b82f6;
}

.archive-icon {
  font-size: 40px;
  color: #94a3b8;
  transition: all 0.3s ease;
}

/* 文本样式 */
.title-text {
  color: #1e293b;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.subtitle-text {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* 底部按钮区域 */
.bottom-section {
  padding: 20px 16px;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* 按钮样式 */
.create-button {
  width: 100%;
  height: 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
  transition: all 0.3s ease;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.create-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.45);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.create-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.button-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .warning-box {
    margin: 16px 12px;
    padding: 16px;
    font-size: 14px;
  }
  
  .main-content {
    margin: 0 12px 16px 12px;
    min-height: 280px;
  }
  
  .archive-icon-container {
    width: 80px;
    height: 80px;
  }
  
  .archive-icon {
    font-size: 32px;
  }
  
  .title-text {
    font-size: 18px;
  }
  
  .subtitle-text {
    font-size: 14px;
    max-width: 240px;
  }
  
  .create-button {
    height: 52px;
    font-size: 16px;
  }
}

/* 加载动画 */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
